package com.woniuxy.woniubook.service;

import com.woniuxy.woniubook.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wugd
 * @since 2022-11-16 02:13:12
 */
public interface UserService extends IService<User> {

    User getUserByName(String username);

    User getUserByEmail(String email);

    void reg(String account, String password, String email);
}
